<title><{$TITLE}></title>
<meta name="keywords" content="<{$KEYWORDS}>" />
<meta name="description" content="<{$DESCRIPTION}>" />
<{if $NOFOLLOW eq 'true'}><meta name="nofollow" content="nofollow" /><{/if}>
<{if $NOINDEX eq 'true'}><meta name="noindex" content="noindex" /><{/if}>
<link rel="icon" href="<{$env.app.res_url}>favicon.ico" type="image/x-icon" />
<{if !is_array($headers)}><{$headers|replace:"\n":' '}><{/if}>
<{css src="b2c.css" app="b2c" pdir="css_mini"}>
<{$extends_header}>

<{lang_script src="lang.js" app="b2c"}>
<{lang_css src="lang.css" app="b2c"}>

<{if defined("DEBUG_JS") && DEBUG_JS}>
    <{script src="browserstore.js" app="b2c"}>
    <{script src="shoptools.js" app="b2c"}>
    <{script src="goodscupcake.js" app="b2c"}>
<{else}>
    <{script src="shoptools_min.js" app="b2c" pdir="js_mini"}>
<{/if}>


<script>
var Shop = <{$shopDefine}>;
</script>
<script>
<{if $theme_color_href}>
   window.addEvent('domready',function(){
       new Element('link',{href:'<{$theme_color_href}>',type:'text/css',rel:'stylesheet'}).inject(document.head,'bottom');
   });
<{/if}>
</script>
